import { dicUrl } from '@/config/env'
const DIC = {
  STATUS: [{
    label: '未完成',
    value: '1'
  },
  {
    label: '已完成',
    value: '2'
  },
  ]
}
export default {
  height: 270,
  // width:1000,
  index: true,
  calcHeight: 380,
  border: false,
  stripe: true,
  selection: false,
  menu: true,
  menuWidth: 100,
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dicData: DIC,
  page: false,
  align: 'center',
  // refreshBtn:false,
  showClomnuBtn: false,
  column: [
    {
      "label": "日程日期",
      "prop": "workDate",
      "type": "date",
      "span": 24,//宽度
      "solt": true,
      hide: true,
      "valueFormat": "yyyy/MM/dd",
      "rules": [{
        "required": true,
        "message": "请选择日程日期",
        "trigger": "blur"
      }],
    },
    {
      "label": "工作事项",
      "prop": "workCont",
      "span": 24,//宽度
      "type": "text",
      "rules": [{
        "required": true,
        "message": "请输入工作事项",
        "trigger": "blur"
      }],
    },
    {
      "label": "日程状态",
      "prop": "finishFlag",
      "type": "radio",
      "span": 24,//宽度
      "dicData": "STATUS",
      "rules": [{
        "required": true,
        "message": "请选择日程状态",
        "trigger": "blur"
      }],
    },
  ]
};
